PhpOffice\PhpSpreadsheet\Shared\Font A

Total Complexity 56
Dependencies 6
Dependents 7
Total lines 666
Lines of code 188
Logical lines of code 113
Comment lines 21
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
getTrueTypeFontFileFromFont()
B
42 20 47
calculateColumnWidth()
A
45 9 40
getTextWidthPixelsApprox()
S
51 5 27
getDefaultColumnWidthByFont()
S
57 5 16
getDefaultRowHeightByFont()
S
60 4 12
getTextWidthPixelsExact()
S
60 2 12
setAutoSizeMethod()
S
68 2 7
setExtraFontArray()
S
80 1 3
getExtraFontArray()
S
80 1 3
getAutoSizeMethod()
S
80 1 3
setTrueTypeFontPath()
S
80 1 3
getTrueTypeFontPath()
S
80 1 3
fontSizeToPixels()
S
78 1 3
inchSizeToPixels()
S
80 1 3
centimeterSizeToPixels()
S
80 1 3
getCharsetFromFontName()
S
79 1 3